{% extends "hwam/base.html" %}

{% block sub-title %}Organizational Units | {% endblock %}

{% block content-main %}

<h1>Organizational Units</h1>
<a href="{% url 'hwam:ou_create' %}">Add</a>

{% if ou_list %}
    <ul>
        {% for u in ou_list %}
            {% include "hwam/ou_tree_view.html" %}
        {% endfor %}
    </ul>
{% else %}
    <p>No organizational units.</p>
{% endif %}

{% endblock %}
